package com.katze.boot.plugins.security;

import com.katze.common.ResponseStatus;
import org.springframework.security.core.AuthenticationException;

public class JwtAuthenticationException extends AuthenticationException {
    private Integer status;

    public JwtAuthenticationException(ResponseStatus status) {
        super(status.note());
        this.status  = status.value();
    }

    public Integer getStatus() {
        return status;
    }
}
